메인 콘텐츠로 건너뛰기
POST
/
settings
/
tls
Update TLS configuration
curl --request POST \
  --url https://your_a2_service/settings/tls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'domain=<string>' \
  --form mode=http
{
  "access_token": {
    "access_token": "<string>",
    "token_type": "Bearer"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "currency": "usd",
  "external_channel_url": "<string>",
  "language": "en",
  "tls_domain": "<string>",
  "tls_enable": true,
  "updated_at": "2023-11-07T05:31:56Z",
  "yield_optimization": {
    "ceiling_cpm": 123,
    "floor_cpm": 123,
    "yield_roas_balance": 0.5
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
domain
string
required

TLS 도메인 이름

files
file[]
required

HTTPS 모드로 설정된 경우, 첫 번째 파일은 SSL 인증서이고, 두 번째 파일은 개인 키여야 합니다.

mode
enum<string>
required

TLS 모드: http, https

사용 가능한 옵션:
http,
https

Response

Successful Response

설정 스키마

access_token
object | null
required

액세스 토큰 정보

currency
string
required

시스템에서 사용하는 통화 코드입니다. 예산 관리에 사용됩니다.

Examples:

"usd"

"krw"

external_channel_url
string | null
required

예산 관리에 사용될 외부 채널 URL

language
string
required

언어 코드

Examples:

"en"

"ko"

tls_domain
string | null
required

TLS 도메인 이름

tls_enable
boolean
required

TLS 사용 여부

yield_optimization
object | null
required

수익 최적화 설정

created_at
string<date-time> | null

생성 일시

updated_at
string<date-time> | null

변경 일시